import 'package:cbec_app/components/base/base_image.dart';
import 'package:cbec_app/components/base/base_interactive.dart';
import 'package:cbec_app/components/base/base_page.dart';
import 'package:cbec_app/components/common/common_style.dart';
import 'package:cbec_app/components/base/base_nav_bar.dart';
import 'package:cbec_app/components/order/map_transport_box.dart';
import 'package:cbec_app/utils/Tools.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

//待收货订单详情
class WatingOrderDetail extends StatelessWidget {
  WatingOrderDetail({super.key});

   List<Map<String, Object>> data = [
    {'msg':"重庆市市辖区北碚区澄江镇982号204室重庆市市辖区北碚区澄江镇982号204室重庆市市辖区北碚区澄江镇982号204室重庆市市辖区北碚区澄江镇982号204室",'time':'2024-02-11 22:38:04'},
    {'msg':"重庆市市辖区北碚区澄江镇982号204室",'time':'2024-02-11 22:38:04'},
    {'msg':"重庆市市辖区北碚区澄江镇982号204室",'time':'2024-02-11 22:38:04'},
    {'msg':"重庆市市辖区北碚区澄江镇982号204室",'time':'2024-02-11 22:38:04'},
    {'msg':"重庆市市辖区北碚区澄江镇982号204室",'time':'2024-02-11 22:38:04'},
  ];

  @override
  Widget build(BuildContext context) {
    return BasePage(
      isIconTitle: true,
      bodyColor: Tools.fromHex("#F3F5F7"),
      title: "等待收货",
      iconType: IconType.back,
      children: [
        MapTransportBox(transportList: data,)
      ],
    );
  }
}


